package com.tjetc.service;

import com.tjetc.pojo.dto.OrderDTO;

/**
 * @Author: itda
 * @Date: 2024/5/11 14:01
 * @Description: OrderService
 */
public interface OrderService {
    /**
     * 新增订单
     * @param orderDTO
     */
    void save(OrderDTO orderDTO);

    /**
     * 根据id删除订单
     * @param id
     */
    void delete(Long id);

    /**
     * 根据id修改订单
     * @param orderDTO
     */
    void update(OrderDTO orderDTO);

    /**
     * 查看订单信息
     */
    void list() throws Exception;
}
